﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<KLS.PPDS.Web.Models.CompanyViewModel>" %>
<%@ Import Namespace="KLS.PPDS.Resources" %>
<%@ Import Namespace="KLS.PPDS.Utility.Html" %>
<%@ Import Namespace="MvcContrib.UI.Grid" %>
<%@ Import Namespace="KLS.PPDS.Utility.Html" %>
<%using (Html.BeginForm("CompnayList", "Compnay", FormMethod.Post, new { @class = "searchfrom" }))
  {%>
<table class="filter">
    <tr>
        <td>
            <%:Html.DivActionLink(CommonString.New, "/CompanySettings", new { @class = "new-button" })%>
        </td>
    </tr>
</table>
<%} %>
<br />
<div class="list">
    <%
        Html.RenderPartial("CompnayList", Model);%>
</div>
<%--<table>

<tr><td>
<br />
<input type="button" value="<%=CommonString.New%>" onclick = "<%=String.Format("AjaxEditCall('/company/CompanySettings')")%>"/>
 </td></tr>
</table>--%>
